package mini_v340.conf

/**
  * Created by chenbo on 2018/9/11.
  */
object Config {

  val host = Apply.apply.host
  val version = "3.4.0"

  val scheme = "http://"
  var root = s"$scheme$host"

  val authorization="YmVubGFpX21pbmlwcm9ncmFtOjdhOTRmMTkwNjA5MzExZTdhNmYxNWZiMDlmNWY4Y2Yw"

  var uuk:String = java.util.UUID.randomUUID().toString.replaceAll("-","")


  // 用微信code登录，grant_type为wx_miniprogram
  // 获取客户端验证的access_token，grant_type为client_credentials
  var Token="/Token"

//  购物车, post 加入购物车,get 获取购物车详情
  val Cart = "/Cart"
//  购物车商品数量
  val CartCount = "/Cart/Count"
//  首页
  val Home = "/Home"

//  订单列表
  val OrderList = "/Order/List"
//  订单详情
  val Order = "/Order"

//  put 结算页初始化,post 创建订单
  val Shopping = "/Shopping"
//  结算页选择配送时间
  val Shopping_ShipTime = "/Shopping/ShipTime"
//  支付接口，注意：在Url中带上订单号/Pay/UnifiedGoPay?OrderSysNo=***
  val Pay_UnifiedGoPay = "/Pay/UnifiedGoPay"

//  获取用户信息
  val Me = "/Me"

  val product = "/Product"

  var basic_Authorization = s"Basic $authorization"
}
